#!/bin/bash
# common
export USER="xwx1135370"
export LLVM_PROJECT_DIR="/home/xwx1135370/workspace/Testing/llvm/toolchain/llvm-project"
export LLDB_PROJECT_DIR="/home/xwx1135370/workspace/Testing/llvm/toolchain/llvm-project/lldb"
export TOOLCHAIN_PATH="/home/xwx1135370/workspace/Testing/llvm/out/clang-dev"
export LD_LIBRARY_PATH="${TOOLCHAIN_PATH}/lib"
export SYSROOT="${TOOLCHAIN_PATH}/../sysroot"
export TOOLCHAIN_BIN_PATH="${TOOLCHAIN_PATH}/bin"
export LLDB_TEST_PATH="test/API"
export RUN_ENVIRONMENT="run_info.env"
export LLVM_CI_RESOURCES="/home/xwx1135370/workspace/Testing/llvm/llvm-ci/resources"
export LLVM_CI_CONFIGS="${LLVM_CI_RESOURCES}/config"
export LLVM_CI_SCRIPTS="${LLVM_CI_RESOURCES}/scripts"


# 半容器
export CONTAINER_DEVICE_SERIAL="$(hdc list targets)"
export CONTAINER_SERIAL="${CONTAINER_DEVICE_SERIAL}"
export LLDB_SERVER_PORT_CONTAINER=5555
export LLDB_API_REMOTE_PLATFORM_NAME_OHOS="remote-hos inner"
export LLDB_API_REMOTE_PLATFORM_URL_STRING_OHOS="connect://:${LLDB_SERVER_PORT_CONTAINER}"



# 半容器容器内
export TARGET="aarch64-linux-container"
export CONFIG="aarch64-linux-container.cfg"
export LLDB_API_DOTEST_ARCH="aarch64"
export DISABLED_TESTS="lldb-api-aarch64-linux-container.txt"

export EXCLUDE_FILE="${PWD}/${TARGET}-skip.txt"
export REMOTE_PLATFORM_WORKDIR="/data/ohos/local/tmp/lldb_api_test_${TARGET}"
export CONTAINER_WORKDIR="/data/local/tmp/lldb_api_test_${TARGET}"
export CONTAINER_REMOTE_PLATFORM_WORKDIR="/data/ohos_data/local/tmp/lldb_api_test_${TARGET}"
export LLDB_SERVER_BINARY_RELATIVE_TO_TOOLCHAIN_PATH="${LD_LIBRARY_PATH}/clang/12.0.1/bin/${TARGET}/lldb-server"
